﻿rem 只修改国际化

rem truck开发路径
@echo off
set m3_path=F:\develop\workspace\ccmp-plus\h5\trunk\src\apps\m3
set application_path=%m3_path%\application\i18n
set commons_path=%m3_path%\commons\js
set login_path=%m3_path%\login\i18n
set message_path=%m3_path%\message\i18n
set my_path=%m3_path%\my\i18n
set search_path=%m3_path%\search\i18n
set todo_path=%m3_path%\todo\i18n

rem branches 6.1sp1 wzm分支
set wzm_path=F:\develop\workspace\ccmp-plus\h5\branches\V6.1SP1_Feature_WZM\src\apps\m3
set wzm_application_path=%wzm_path%\application\i18n
set wzm_commons_path=%wzm_path%\commons\js
set wzm_login_path=%wzm_path%\login\i18n
set wzm_message_path=%wzm_path%\message\i18n
set wzm_my_path=%wzm_path%\my\i18n
set wzm_search_path=%wzm_path%\search\i18n
set wzm_todo_path=%wzm_path%\todo\i18n

rem branches 6.1sp1 vj分支
set vj_path=F:\develop\workspace\ccmp-plus\h5\branches\V6.1SP1_Feature_VJ\src\apps\m3
set vj_application_path=%vj_path%\application\i18n
set vj_commons_path=%vj_path%\commons\js
set vj_login_path=%vj_path%\login\i18n
set vj_message_path=%vj_path%\message\i18n
set vj_my_path=%vj_path%\my\i18n
set vj_search_path=%vj_path%\search\i18n
set vj_todo_path=%vj_path%\todo\i18n

rem branches 6.1sp1 hotfix分支
set hotfix_path=F:\develop\workspace\ccmp-plus\h5\branches\V6.1SP1_Hotfix_20170815\src\apps\m3
set hotfix_application_path=%hotfix_path%\application\i18n
set hotfix_commons_path=%hotfix_path%\commons\js
set hotfix_login_path=%hotfix_path%\login\i18n
set hotfix_message_path=%hotfix_path%\message\i18n
set hotfix_my_path=%hotfix_path%\my\i18n
set hotfix_search_path=%hotfix_path%\search\i18n
set hotfix_todo_path=%hotfix_path%\todo\i18n


rem =================================delete===============
rem 初始删除所有分支里的國際化文件
del "%wzm_application_path%\*" /f /s /q /a
del "%wzm_commons_path%\m3i18n.js" /f /s /q /a
del "%wzm_login_path%\*" /f /s /q /a
del "%wzm_message_path%\*" /f /s /q /a
del "%wzm_my_path%\*" /f /s /q /a
del "%wzm_search_path%\*" /f /s /q /a
del "%wzm_todo_path%\*" /f /s /q /a


del "%vj_application_path%\*" /f /s /q /a
del "%vj_commons_path%\m3i18n.js" /f /s /q /a
del "%vj_login_path%\*" /f /s /q /a
del "%vj_message_path%\*" /f /s /q /a
del "%vj_my_path%\*" /f /s /q /a
del "%vj_search_path%\*" /f /s /q /a
del "%vj_todo_path%\*" /f /s /q /a


del "%hotfix_application_path%\*" /f /s /q /a
del "%hotfix_commons_path%\m3i18n.js" /f /s /q /a
del "%hotfix_login_path%\*" /f /s /q /a
del "%hotfix_message_path%\*" /f /s /q /a
del "%hotfix_my_path%\*" /f /s /q /a
del "%hotfix_search_path%\*" /f /s /q /a
del "%hotfix_todo_path%\*" /f /s /q /a





rem ======================================copy===========

rem 拷贝truck的i18n到分支的i18n目录
XCOPY %application_path%\* %wzm_application_path% /s  /e
XCOPY %commons_path%\m3i18n.js %wzm_commons_path% /s  /e
XCOPY %login_path%\* %wzm_login_path% /s  /e
XCOPY %message_path%\* %wzm_message_path% /s  /e
XCOPY %my_path%\* %wzm_my_path% /s  /e
XCOPY %search_path%\* %wzm_search_path% /s  /e
XCOPY %todo_path%\* %wzm_todo_path% /s  /e

XCOPY %application_path%\* %vj_application_path% /s  /e
XCOPY %commons_path%\m3i18n.js %vj_commons_path% /s  /e
XCOPY %login_path%\* %vj_login_path% /s  /e
XCOPY %message_path%\* %vj_message_path% /s  /e
XCOPY %my_path%\* %vj_my_path% /s  /e
XCOPY %search_path%\* %vj_search_path% /s  /e
XCOPY %todo_path%\* %vj_todo_path% /s  /e

XCOPY %application_path%\* %hotfix_application_path% /s  /e
XCOPY %commons_path%\m3i18n.js %hotfix_commons_path% /s  /e
XCOPY %login_path%\* %hotfix_login_path% /s  /e
XCOPY %message_path%\* %hotfix_message_path% /s  /e
XCOPY %my_path%\* %hotfix_my_path% /s  /e
XCOPY %search_path%\* %hotfix_search_path% /s  /e
XCOPY %todo_path%\* %hotfix_todo_path% /s  /e



set branchs_path=F:\develop\workspace\ccmp-plus\h5\branches

start %branchs_path%







